﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Facebook;

namespace CapokunMvcTest.Controllers
{
	public class HomeController : Controller
	{
		public ActionResult Index()
		{
			ViewBag.Message = "Welcome to ASP.NET MVC!";

			return View();
		}

		public ActionResult About()
		{
			return View();
		}

		public ActionResult FbTest()
		{
			var client = new FacebookClient();
			dynamic me = client.Get("totten");
			return View();
		}

		//public ActionResult Profile()
		//{
		//    var client = new Facebook.FacebookClient();
		//    client.

		//    dynamic me = client.Get("me");
		//    ViewBag.Name = me.name;
		//    ViewBag.Id = me.id;

		//    return View();
		//}


	}
}
